package org.jeecg.modules.demo.yhs.POJO;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class Result<E> {
    private int code;
    private String message;
    E data;

    public Result(int code, String message, E data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }
    public Result(int code, String message) {
        this.code = code;
        this.message = message;
    }

}
